Skip to content

Commit

Permalink
Migrate to Nette\SmartObject;
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamek committed Jan 4, 2018
1 parent 496ad12 commit cad07d0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/Dravencms/FileDownload/FileDownload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

namespace Dravencms\FileDownload;

use Nette;

/**
* Class FileDownload
* @package Dravencms\FileDownload
*/
class FileDownload extends \Nette\Object
class FileDownload
{

use Nette\SmartObject;

public function __construct()
{
}
Expand Down
3 changes: 2 additions & 1 deletion src/Dravencms/Model/FileDownload/Entities/Download.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
* @ORM\Entity
* @ORM\Table(name="fileDownload")
*/
class Download extends Nette\Object
class Download
{
use Nette\SmartObject;
use Identifier;
use TimestampableEntity;

Expand Down
3 changes: 2 additions & 1 deletion src/Dravencms/Model/FileDownload/Entities/DownloadFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
* @ORM\Entity
* @ORM\Table(name="fileDownloadFile")
*/
class DownloadFile extends Nette\Object
class DownloadFile
{
use Nette\SmartObject;
use Identifier;
use TimestampableEntity;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
* @ORM\Entity
* @ORM\Table(name="fileDownloadFileTranslation")
*/
class DownloadFileTranslation extends Nette\Object
class DownloadFileTranslation
{
use Nette\SmartObject;
use Identifier;
use TimestampableEntity;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
* @ORM\Entity
* @ORM\Table(name="fileDownloadTranslation")
*/
class DownloadTranslation extends Nette\Object
class DownloadTranslation
{
use Nette\SmartObject;
use Identifier;
use TimestampableEntity;

Expand Down

0 comments on commit cad07d0

Please sign in to comment.