for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Koriit\PHPDeps\Tokenizer\Exceptions;
use Exception;
class MalformedFile extends Exception
{
/**
* @var string
*/
private $filePath;
public function __construct($filePath, $cause = null)
parent::__construct('Malformed file: ' . $filePath, 0, $cause);
$this->filePath = $filePath;
}
* @return string
public function getFilePath()
return $this->filePath;