2014-07-06 16:31:39 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of VFS
|
|
|
|
*
|
2015-07-21 14:17:00 +00:00
|
|
|
* Copyright (c) 2015 Andrew Lawson <http://adlawson.com>
|
2014-07-06 16:31:39 +00:00
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
namespace Vfs\Node;
|
|
|
|
|
|
|
|
use DateTime;
|
|
|
|
|
|
|
|
interface NodeInterface extends StatInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @return DateTime
|
|
|
|
*/
|
|
|
|
public function getDateAccessed();
|
|
|
|
|
2014-09-06 16:33:18 +00:00
|
|
|
/**
|
|
|
|
* @param DateTime $dateTime
|
|
|
|
*/
|
|
|
|
public function setDateAccessed(DateTime $dateTime);
|
|
|
|
|
2014-07-06 16:31:39 +00:00
|
|
|
/**
|
|
|
|
* @return DateTime
|
|
|
|
*/
|
|
|
|
public function getDateCreated();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return DateTime
|
|
|
|
*/
|
|
|
|
public function getDateModified();
|
|
|
|
|
2014-09-06 16:33:18 +00:00
|
|
|
/**
|
|
|
|
* @param DateTime $dateTime
|
|
|
|
*/
|
|
|
|
public function setDateModified(DateTime $dateTime);
|
|
|
|
|
2014-07-06 16:31:39 +00:00
|
|
|
/**
|
|
|
|
* @return integer
|
|
|
|
*/
|
|
|
|
public function getSize();
|
|
|
|
}
|