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
/** | |
* The foo action. | |
* | |
* @Validate ("uuid", "Api\Validator\Uuid") | |
* | |
* @param Uuid $uuid | |
* | |
* @return \Api\Response\Uuid | |
*/ | |
public function fooAction(Uuid $uuid) |
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 | |
/** | |
* Class Trollololololl | |
*/ | |
class Trollololololl | |
{ | |
/** | |
* Does something. | |
* | |
* @var int |
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 | |
/** | |
* Class SampleController | |
* | |
* ZF2 Controller Action after dispatch overwrite. | |
*/ | |
class SampleController | |
{ | |
/** | |
* This is our sample action. |
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 | |
'controller_plugins' => array( | |
'invokables' => array( | |
'AuthPlugin' => 'Auth\Controller\Plugin\Auth', | |
), | |
), |
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 -v | |
PHP 5.4.11-1~dotdeb.0 (cli) (built: Jan 24 2013 15:04:58) | |
Copyright (c) 1997-2013 The PHP Group | |
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies | |
with Suhosin v0.9.34-dev, Copyright (c) 2007-2012, by SektionEins GmbH |
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
/build.liquibase.xml:65: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.DatabaseException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer | |
at liquibase.database.AbstractJdbcDatabase.checkDatabaseChangeLogTable(AbstractJdbcDatabase.java:596) | |
at liquibase.Liquibase.checkDatabaseChangeLogTable(Liquibase.java:600) | |
at liquibase.Liquibase.update(Liquibase.java:129) | |
at liquibase.integration.ant.DatabaseUpdateTask.execute(DatabaseUpdateTask.java:47) | |
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) | |
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:616) | |
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) |
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 composer.phar update | |
Loading composer repositories with package information | |
Updating dependencies | |
Your requirements could not be resolved to an installable set of packages. | |
Problem 1 | |
- Conclusion: remove doctrine/doctrine-module dev-master | |
- doctrine/doctrine-orm-module dev-master requires doctrine/doctrine-module 0.7.* -> satisfiable by doctrine/doctrine-module 0.7.0, doctrine/doctrine-module 0.7.1. | |
- doctrine/doctrine-orm-module dev-master requires doctrine/doctrine-module 0.7.* -> satisfiable by doctrine/doctrine-module 0.7.0, doctrine/doctrine-module 0.7.1. | |
- Can only install one of: doctrine/doctrine-module dev-master, doctrine/doctrine-module 0.7.0. |
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 Admin\Form\Blog; | |
use Blog\Entity\Article as ArticleEntity; | |
use Zend\Form\Fieldset; | |
use Zend\Stdlib\Hydrator\ObjectProperty; | |
use Zend\InputFilter\InputFilterProviderInterface; | |
class ArticleFieldset |
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 Admin\Form\Blog; | |
use Zend\Form\Form; | |
use Zend\Stdlib\Hydrator\ObjectProperty; | |
class Article extends Form | |
{ | |
public function __construct($entityManager, $name = 'blog-article') |
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
{ | |
"code":"0", | |
"data":{ | |
"groups": [ | |
{"name":"Administrator", "id":2}, | |
{"name":"Super-Administrator", "id":1} | |
], | |
"resources": [ | |
{"group":2, "permission":1} | |
] |