This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\CmsBundle\DataFixtures\ORM; | |
| use Doctrine\Common\Persistence\ObjectManager; | |
| use Doctrine\Common\DataFixtures\AbstractFixture; | |
| use Doctrine\Common\DataFixtures\OrderedFixtureInterface; | |
| use Lowpress\CmsBundle\Entity\Site; | |
| class LoadSiteData extends AbstractFixture implements OrderedFixtureInterface |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\ExampleBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM, | |
| Lowpress\CmsBundle as CMS; | |
| /** | |
| * @ORM\Entity | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\CmsBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * @ORM\Entity | |
| */ | |
| class HtmlPage extends Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\CmsBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * @ORM\Entity | |
| * @ORM\InheritanceType("JOINED") | |
| * @ORM\DiscriminatorColumn(name="discr", type="string") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\CmsBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * @ORM\Entity | |
| */ | |
| class Site |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\ExampleBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM, | |
| Lowpress\CmsBundle as CMS; | |
| class ContentPage extends CMS\Entity\HtmlPage | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\CmsBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| class HtmlPage extends Path | |
| { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\ExampleBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM, | |
| Lowpress\CmsBundle as CMS; | |
| class ContentPage extends CMS\Entity\HtmlPage | |
| { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\ExampleBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM, | |
| Lowpress\CmsBundle as CMS; | |
| class ContentPage extends CMS\Entity\HtmlPage | |
| { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Lowpress\CmsBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| class HtmlPage extends Path | |
| { | |
| /** |