Pārlūkot izejas kodu

FileModel

tags/0.1
Guillaume pirms 3 gadiem
vecāks
revīzija
26eacc419c
2 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. +3
    -3
      Doctrine/Extension/OpenGraphTrait.php
  2. +2
    -2
      Model/File/FileModel.php

+ 3
- 3
Doctrine/Extension/OpenGraphTrait.php Parādīt failu

@@ -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 Parādīt failu

@@ -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;

Notiek ielāde…
Atcelt
Saglabāt