This file contains 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 Admin\CoreBundle\Entity; | |
use Symfony\Component\Security\Core\Role\RoleInterface; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity() | |
*/ |
This file contains 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 | |
/** | |
* Author: Patrik Gmitter <[email protected]> | |
* Date: 4/24/12 | |
*/ | |
namespace Eshop\Model; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** |
This file contains 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
Doctrine\ORM\Tools\ToolsException | |
Schema-Tool failed with Error 'SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "Order" LINE 1: ...17B8A4DF359E4DAB FOREIGN KEY (OrderId) REFERENCES Order (id)... ^' while executing DDL: ALTER TABLE Order_ShippingPackage ADD CONSTRAINT FK_17B8A4DF359E4DAB FOREIGN KEY (OrderId) REFERENCES Order (id) NOT DEFERRABLE INITIALLY IMMEDIATE search► | |
Caused by ▼ | |
PDOException #42601 |
This file contains 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 | |
/** | |
* Author: Patrik Gmitter <[email protected]> | |
* Date: 4/30/12 | |
*/ | |
namespace Patie\Eshop\Store; | |
class Product extends \Nette\Object |
This file contains 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 | |
/** | |
* Author: Patrik Gmitter <[email protected]> | |
* Date: 4/30/12 | |
*/ | |
namespace Patie\Eshop\Store; | |
use Nette; | |
use Nette\Caching\Cache; |
This file contains 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 | |
/** | |
* Author: Patrik Gmitter <[email protected]> | |
* Date: 4/24/12 | |
*/ | |
namespace Model; | |
use Doctrine\ORM\Mapping as ORM, | |
Doctrine\ORM\Proxy, |
This file contains 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 | |
/** | |
* Base class for all application presenters. | |
* | |
* @author John Doe | |
* @package MyApplication | |
*/ | |
abstract class BasePresenter extends Nette\Application\UI\Presenter | |
{ |