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\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
\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.
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
{@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
\n
{@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
\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\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