Browse Source

add options in read method on ShortsTrait

pull/47/head
Diogo Bemfica 5 years ago
parent
commit
5ce76283ce
  1. 5
      src/ShortsTrait.php

5
src/ShortsTrait.php

@ -33,13 +33,14 @@ trait ShortsTrait
* Alias for ->read() method
*
* @param bool $parse If need parse output to array
* @param array $options
*
* @return mixed
* @since 0.7
*/
public function r(bool $parse = true)
public function r(bool $parse = true, array $options = [])
{
return $this->read($parse);
return $this->read($parse, $options);
}
/**

Loading…
Cancel
Save