Phrozn\Runner\CommandLine\Callback\Single::getPaths PHP Method

getPaths() private method

private getPaths ( )
    private function getPaths()
    {
        $in = $out = null;
        $file = $this->getParseResult()->command->args['file'];
        $in = $this->getPathArgument('in');
        $out = $this->getPathArgument('out');
        if (file_exists($in . DIRECTORY_SEPARATOR . '/.phrozn')) {
            return array($in . '/.phrozn/entries/' . $file, $in . '/.phrozn/', $out . '/');
        } else {
            return array($in . '/entries/' . $file, $in . '/', $out . '/');
        }
    }