php-vfs/src/Node/NodeInterface.php

46 lines
841 B
PHP
Raw Normal View History

2014-07-06 16:31:39 +00:00
<?php
/*
* This file is part of VFS
*
* 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();
/**
* @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();
/**
* @param DateTime $dateTime
*/
public function setDateModified(DateTime $dateTime);
2014-07-06 16:31:39 +00:00
/**
* @return integer
*/
public function getSize();
}