Jarves\Filesystem\Adapter\AbstractAdapter::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $mountPath, array $params = null )
$mountPath string The mount name for this layer. (in fact, the folder name in media/)
$params array
    public function __construct($mountPath, $params = null)
    {
        $this->setMountPath($mountPath);
        if ($params) {
            $this->setParams($params);
        }
    }

Usage Example

Exemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function __construct($mountPoint, $params = null)
 {
     parent::__construct($mountPoint, $params);
 }