Skip to content

Commit

Permalink
Updated stubs regarding to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Jun 4, 2017
1 parent f20226f commit 9279b4a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/Phalcon/assets/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function addInlineCode(Inline $code) {}
public function set($id, \Phalcon\Assets\Collection $collection) {}

/**
* Returns a collection by its id
* Returns a collection by its id.
*
* <code>
* $scripts = $assets->get("js");
Expand All @@ -176,6 +176,21 @@ public function set($id, \Phalcon\Assets\Collection $collection) {}
*/
public function get($id) {}

/**
* Checks whether the Assets Manager has Collection.
*
* <code>
* if ($assets->has("jsHeader")) {
* // \Phalcon\Assets\Collection
* $collection = $assets->get("jsHeader");
* }
* </code>
*
* @param string $id
* @return bool
*/
public function has($id) {}

/**
* Returns the CSS collection of assets
*
Expand Down

0 comments on commit 9279b4a

Please sign in to comment.