25 lines
337 B
PHP
25 lines
337 B
PHP
<?php
|
|
|
|
namespace Doctrine\Tests\Models\DirectoryTree;
|
|
|
|
/**
|
|
* @Entity
|
|
*/
|
|
class Directory extends AbstractContentItem
|
|
{
|
|
/**
|
|
* @Column(type="string")
|
|
*/
|
|
protected $path;
|
|
|
|
public function setPath($path)
|
|
{
|
|
$this->path = $path;
|
|
}
|
|
|
|
public function getPath()
|
|
{
|
|
return $this->path;
|
|
}
|
|
}
|