for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Majora\Framework\Repository\Api;
use Majora\Framework\Model\CollectionableInterface;
/**
* Base trait for api repository.
*/
trait ApiRepositoryTrait
{
* @see RepositoryInterface::persist()
public function persist(CollectionableInterface $entity)
$entity
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return;
}
* @see RepositoryInterface::remove()
public function remove(CollectionableInterface $entity)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.