for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Skobkin\Bundle\PointToolsBundle\Exception\Factory\Blog;
use Exception;
use Skobkin\Bundle\PointToolsBundle\DTO\Api\Crawler\Post;
class InvalidPostDataException extends InvalidDataException
{
/**
* @var Post
*/
private $post;
public function __construct($message = '', Post $post, $code = 0, Exception $previous = null)
$this->post = $post;
parent::__construct($message, $code, $previous);
}
* @return Post
public function getPost(): Post
return $this->post;