Jarves\Filesystem\Adapter\AbstractAdapter::__construct PHP Метод

__construct() публичный Метод

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

Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function __construct($mountPoint, $params = null)
 {
     parent::__construct($mountPoint, $params);
 }