<?php
require_once 'CommandInterface.php';
require_once 'File.php';
class TouchCommand implements CommandInterface
{
private $_file;
public function __construct(File $file)
{
$this->_file = $file;
}
public function execute()
{
return $this->_file->create();
}
}