src/Bcol/Component/Type/Collection/TypedCachedCollection.php
public function partition(Closure $p)
    {
        $partition = $this->getCollection()->partition($p);

        return array(
            new static($this->name, $this->cache, $partition[0]->toArray()),
            new static($this->name, $this->cache, $partition[1]->toArray()),
        );
    }
public function partition(Closure $p)
    {
        $partition = $this->getCollection()->partition($p);

        return array(
            new static($this->name, $this->cache, $partition[0]->toArray()),
            new static($this->name, $this->cache, $partition[1]->toArray()),
        );
    }
@param callable $p

@return array