A trait for \Countable
interface.
Example:
class Storage implements \Countable
{
private $storage = [];
use \Greg\Support\Accessor\CountableTrait;
private function &getAccessor()
{
return $this->storage;
}
}
Includes \Countable
methods.