public function getChangeDate($identifier)
    {
        $identifier = '/' . trim($identifier, '/') . '/';

        preg_match('{^(.+?)(@\d+)?/$}', $identifier, $match);
        if (!empty($match[2])) {
            $path = $match[1];
            $rev = $match[2];
        } else {
            $path = $identifier;
            $rev = '';
        }

        $output = $this->execute('svn info', $this->baseUrl . $path . $rev);
        foreach ($this->process->splitLines($output) as $line) {
            if ($line && preg_match('{^Last Changed Date: ([^(]+)}', $line, $match)) {
                return new \DateTime($match[1], new \DateTimeZone('UTC'));
            }
        }

        return null;
    }
public function getChangeDate($identifier)
    {
        $identifier = '/' . trim($identifier, '/') . '/';

        preg_match('{^(.+?)(@\d+)?/$}', $identifier, $match);
        if (!empty($match[2])) {
            $path = $match[1];
            $rev = $match[2];
        } else {
            $path = $identifier;
            $rev = '';
        }

        $output = $this->execute('svn info', $this->baseUrl . $path . $rev);
        foreach ($this->process->splitLines($output) as $line) {
            if ($line && preg_match('{^Last Changed Date: ([^(]+)}', $line, $match)) {
                return new \DateTime($match[1], new \DateTimeZone('UTC'));
            }
        }

        return null;
    }
public function getChangeDate ( $ identifier ) { $ identifier = '/' . trim ( $ identifier , '/' ) . '/' ; preg_match ( '{^(.+?)(@\d+)?/$}' , $ identifier , $ match ) ; if ( ! empty ( $ match [ 2 ] ) ) { $ path = $ match [ 1 ] ; $ rev = $ match [ 2 ] ; } else { $ path = $ identifier ; $ rev = '' ; } $ output = $ this -> execute ( 'svn info' , $ this -> baseUrl . $ path . $ rev ) ; foreach ( $ this -> process -> splitLines ( $ output ) as $ line ) { if ( $ line && preg_match ( '{^Last Changed Date: ([^(]+)}' , $ line , $ match ) ) { return new \ DateTime ( $ match [ 1 ] , new \ DateTimeZone ( 'UTC' ) ) ; } } return null ; }
{@inheritdoc}
{