ImportAwareTrait.php 490 Bytes
Newer Older
1
2
3
4
5
6
<?php

namespace UnicaenImport\Entity\Db\Traits;

trait ImportAwareTrait
{
7
    use SourceAwareTrait;
8
9
10
11

    /**
     * @var string
     */
12
    protected $sourceCode;
13

Laurent Lécluse's avatar
Laurent Lécluse committed
14
15


16
17
    /**
     * @param string $sourceCode
Laurent Lécluse's avatar
Laurent Lécluse committed
18
     *
19
20
21
22
23
24
25
26
27
     * @return self
     */
    public function setSourceCode($sourceCode)
    {
        $this->sourceCode = $sourceCode;

        return $this;
    }

Laurent Lécluse's avatar
Laurent Lécluse committed
28
29


30
31
32
33
34
35
36
37
    /**
     * @return string
     */
    public function getSourceCode()
    {
        return $this->sourceCode;
    }
}