SebastianBergmann\Git\Git::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( string $repositoryPath )
$repositoryPath string
    public function __construct($repositoryPath)
    {
        if (!is_dir($repositoryPath)) {
            throw new RuntimeException(sprintf('Directory "%s" does not exist', $repositoryPath));
        }
        $this->repositoryPath = realpath($repositoryPath);
    }