for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File was created 11.02.2016 06:06
*/
namespace PeekAndPoke\Component\Slumber\Annotation\Slumber\Store;
use Doctrine\Common\Annotations\Annotation;
use PeekAndPoke\Component\Slumber\Annotation\PropertyStorageMarker;
use PeekAndPoke\Component\Slumber\Core\Exception\SlumberException;
use PeekAndPoke\Component\Slumber\Core\Validation\ValidationContext;
* Id defines the primary identifier in an entity held in a storage like MongoDb
*
* @Annotation
* @Annotation\Target("PROPERTY")
* @author Karsten J. Gerber <[email protected]>
class AsId implements PropertyStorageMarker
{
* Initialize the annotation and validate the given parameters
* @param ValidationContext $context
* @throws SlumberException
public function validate(ValidationContext $context)
// noop
}