for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Samurai\Project;
/**
* Class Authors
* @package Samurai\Project
* @author Raphaël Lefebvre <[email protected]>
*/
class Authors extends \ArrayObject
{
* @return array
public function toArray()
$result = [];
foreach($this as $author){
$result[] = $author->toArray();
}
return $result;