for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of gpupo/search
*
* (c) Gilmar Pupo <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Gpupo\Search\Result;
class Item extends ItemAbstract implements ItemInterface
{
public function getId()
return $this->get('id');
}
public function __toString()
$string = json_encode($this->toArray());
return $string;