PHP 클래스 Horde_Vcs, horde

Copyright 2008-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 사용 예제들

공개 메소드들

메소드 설명
factory ( mixed $driver, array $params = [] ) : Horde_Vcs Attempts to return a concrete Horde_Vcs instance based on $driver.

메소드 상세

factory() 공개 정적인 메소드

Attempts to return a concrete Horde_Vcs instance based on $driver.
public static factory ( mixed $driver, array $params = [] ) : Horde_Vcs
$driver mixed The type of concrete Horde_Vcs subclass to return. The code is dynamically included.
$params array A hash containing any additional configuration or parameters a subclass might need.
리턴 Horde_Vcs The newly created concrete instance.