상속: implements Nelmio\Alice\Definition\ServiceReferenceInterface
예제 #1
0
 public function testReadAccessorsReturnPropertiesValues()
 {
     $id = 'user_base';
     $definition = new FixtureReference($id);
     $this->assertEquals($id, $definition->getId());
 }
예제 #2
0
파일: ExtendFlag.php 프로젝트: nelmio/alice
 /**
  * @param FixtureReference $extendedFixture Reference of the extended fixture.
  *                                
  * @example
  *  For (extends user0), $extendedFixture is 'user0'
  */
 public function __construct(FixtureReference $extendedFixture)
 {
     $this->extendedFixture = $extendedFixture;
     $this->stringValue = 'extends ' . $extendedFixture->getId();
 }