collection = $collection; $this->resolver = $resolver; $this->behavior = $behaviour; } /** * @param string $path * @param string $command * @return bool */ public function assert($path, $command) { return $this->behavior->assert($path, $command); } /** * @param string $path * @param null|int $flags * @return null|PharInvocation */ public function resolve($path, $flags = null) { return $this->resolver->resolve($path, $flags); } /** * @return Collectable */ public function getCollection() { return $this->collection; } }