pchRepository::__construct PHP Méthode

__construct() public méthode

Construct from repository path
public __construct ( string $repository ) : void
$repository string
Résultat void
    public function __construct($repository)
    {
        $this->path = (string) $repository;
    }

Usage Example

 /**
  * Construct from repository path, and transaction
  * 
  * @param string $repository 
  * @param string $transaction 
  * @return void
  */
 public function __construct($repository, $transaction)
 {
     parent::__construct($repository);
     $this->transaction = (string) $transaction;
 }
All Usage Examples Of pchRepository::__construct