Pop\File\File::__construct PHP Méthode

__construct() public méthode

Instantiate the file object, either from a file on disk or as a new file.
public __construct ( string $file, array $types = null ) : File
$file string
$types array
Résultat File
    public function __construct($file, $types = null)
    {
        $this->setFile($file, $types);
    }

Usage Example

Exemple #1
0
 /**
  * Constructor
  *
  * Instantiate the file writer object.
  *
  * @param  string $file
  * @param  array  $types
  * @return \Pop\Log\Writer\File
  */
 public function __construct($file, $types = null)
 {
     parent::__construct($file, $types);
 }
All Usage Examples Of Pop\File\File::__construct