for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Aist Filesystem Component (http://mateuszsitek.com/projects/filesystem)
*
* @copyright Copyright (c) 2017 DIGITAL WOLVES LTD (http://digitalwolves.ltd) All rights reserved.
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
*/
namespace Aist\Filesystem\Console\Helper;
use Symfony\Component\Console\Helper\Helper;
use Symfony\Component\Filesystem\Filesystem;
* Filesystem helper class
class FilesystemHelper extends Helper
{
const NAME = 'filesystemHelper';
/** @var Filesystem */
protected $filesystem;
* @param Filesystem $filesystem
public function __construct(Filesystem $filesystem)
$this->filesystem = $filesystem;
}
* @param $method
* @param $args
* @return mixed
public function __call($method, $args)
return call_user_func_array([$this->filesystem, $method], $args);
* {@inheritdoc}
public function getName()
return self::NAME;