ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\FileConfigDummy::setFoo PHP Method

setFoo() public method

public setFoo ( $foo )
    public function setFoo($foo)
    {
        $this->foo = $foo;
    }

Usage Example

コード例 #1
0
ファイル: FeatureContext.php プロジェクト: api-platform/core
 /**
  * @Given there is a FileConfigDummy object
  */
 public function thereIsAFileConfigDummyObject()
 {
     $fileConfigDummy = new FileConfigDummy();
     $fileConfigDummy->setName('ConfigDummy');
     $fileConfigDummy->setFoo('Foo');
     $this->manager->persist($fileConfigDummy);
     $this->manager->flush();
 }