コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function addPath(string $path) : Builder
 {
     $this->config->addPath($path);
     return $this;
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function addPath($path)
 {
     $this->config->addPath($path);
     return $this;
 }
コード例 #3
0
 /**
  * @test
  *
  * @covers \Lcobucci\DependencyInjection\Config\ContainerConfiguration::addPath
  *
  * @uses \Lcobucci\DependencyInjection\Config\ContainerConfiguration::__construct
  */
 public function addPathShouldAppendANewPathToTheList()
 {
     $config = new ContainerConfiguration();
     $config->addPath('services');
     self::assertAttributeEquals(['services'], 'paths', $config);
 }