Ver código fonte

FileModel

tags/0.1
Guillaume 3 anos atrás
pai
commit
26eacc419c
2 arquivos alterados com 5 adições e 5 exclusões
  1. +3
    -3
      Doctrine/Extension/OpenGraphTrait.php
  2. +2
    -2
      Model/File/FileModel.php

+ 3
- 3
Doctrine/Extension/OpenGraphTrait.php Ver arquivo

@@ -3,7 +3,7 @@
namespace Lc\SovBundle\Doctrine\Extension;

use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Model\File\File;
use Lc\SovBundle\Model\File\FileModel;
use Lc\SovBundle\Model\File\FileInterface;

trait OpenGraphTrait
@@ -48,12 +48,12 @@ trait OpenGraphTrait
}


public function getOpenGraphImage(): ?File
public function getOpenGraphImage(): ?FileModel
{
return $this->openGraphImage;
}

public function setOpenGraphImage(?File $openGraphImage): self
public function setOpenGraphImage(?FileModel $openGraphImage): self
{
$this->openGraphImage = $openGraphImage;


Model/File/File.php → Model/File/FileModel.php Ver arquivo

@@ -16,8 +16,8 @@ use Lc\SovBundle\Doctrine\Extension\TimestampableTrait;
use Lc\SovBundle\Doctrine\Extension\TranslatableInterface;
use Lc\SovBundle\Doctrine\Extension\TranslatableTrait;

abstract class File implements SortableInterface, BlameableInterface, TimestampableInterface, TranslatableInterface,
DevAliasInterface, EntityInterface
abstract class FileModel implements SortableInterface, BlameableInterface, TimestampableInterface, TranslatableInterface,
DevAliasInterface, EntityInterface
{
use DevAliasTrait;
use BlameableTrait;

Carregando…
Cancelar
Salvar