for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleMapper\Behaviour;
use SimpleMapper\ActiveRow;
abstract class AbstractBehaviour implements Behaviour
{
/**
* @inheritdoc
*/
public function beforeInsert(array $data): array
}
public function afterInsert(ActiveRow $record, array $data): void
public function beforeUpdate(ActiveRow $record, array $data): array
public function afterUpdate(ActiveRow $oldRecord, ActiveRow $newRecord, array $data): void
public function beforeDelete(ActiveRow $record, bool $soft): void
public function afterDelete(ActiveRow $record, bool $soft): void