PHP 클래스 Components_Helper_Commit, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Components_Output $output, array $options ) Constructor.
add ( string $path, string $directory ) : null Add a path to be included in the commit and record the working directory for this git operation.
commit ( string $log ) : null Add all modified files and commit them.
tag ( string $tag, string $message, string $directory ) : null Tag the component.

보호된 메소드들

메소드 설명
system ( string $call ) : string Run a system call.
systemInDirectory ( string $call, string $target_dir ) : string Run a system call.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Components_Output $output, array $options )
$output Components_Output The output handler.
$options array Applicaiton options.

add() 공개 메소드

Add a path to be included in the commit and record the working directory for this git operation.
public add ( string $path, string $directory ) : null
$path string The path to the modified file.
$directory string The working directory.
리턴 null

commit() 공개 메소드

Add all modified files and commit them.
public commit ( string $log ) : null
$log string The commit message.
리턴 null

system() 보호된 메소드

Run a system call.
protected system ( string $call ) : string
$call string The system call to execute.
리턴 string The command output.

systemInDirectory() 보호된 메소드

Run a system call.
protected systemInDirectory ( string $call, string $target_dir ) : string
$call string The system call to execute.
$target_dir string Run the command in the provided target path.
리턴 string The command output.

tag() 공개 메소드

Tag the component.
public tag ( string $tag, string $message, string $directory ) : null
$tag string Tag name.
$message string Tag message.
$directory string The working directory.
리턴 null