for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tarantool\Mapper;
abstract class Plugin
{
protected $mapper;
public function __construct(Mapper $mapper)
$this->mapper = $mapper;
}
public function getMapper()
return $this->mapper;
public function afterInstantiate(Entity $instance)
$instance
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
public function getRepositoryClass(Space $space)
public function getEntityClass(Space $space)
public function generateKey(Entity $instance, Space $space)
public function beforeCreate(Entity $instance, Space $space)
public function afterCreate(Entity $instance, Space $space)
public function beforeUpdate(Entity $instance, Space $space)
public function afterUpdate(Entity $instance, Space $space)
public function beforeRemove(Entity $instance, Space $space)
public function afterRemove(Entity $instance, Space $space)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.