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 getRepositoryClass(Space $space) {}
public function getEntityClass(Space $space) {}
public function beforeCreate(Entity $instance, Space $space) {}
public function beforeUpdate(Entity $instance, Space $space) {}
$instance
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$space
public function beforeRemove(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.