__toString() public method

public __toString ( ) : string
return string Flag string representation. Is used as an identifier to easily access to a specific flag.
Example #1
0
 public function testReadAccessorsReturnPropertiesValues()
 {
     $reference = new FixtureReference('Nelmio\\Alice\\EntityUser#user_base');
     $flag = new ExtendFlag($reference);
     $this->assertEquals($reference, $flag->getExtendedFixture());
     $this->assertEquals('extends Nelmio\\Alice\\EntityUser#user_base', $flag->__toString());
 }