소스 검색

FileModel

tags/0.1
Guillaume 3 년 전
부모
커밋
26eacc419c
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +3
    -3
      Doctrine/Extension/OpenGraphTrait.php
  2. +2
    -2
      Model/File/FileModel.php

+ 3
- 3
Doctrine/Extension/OpenGraphTrait.php 파일 보기

@@ -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 파일 보기

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

Loading…
취소
저장