mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-03 18:58:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			480 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			480 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Attribut;
 | 
						|
 | 
						|
use App\Entity\Meta\LawInterface;
 | 
						|
 | 
						|
/**
 | 
						|
 * @author kevinfrantz
 | 
						|
 *
 | 
						|
 * @see LawAttributInterface
 | 
						|
 */
 | 
						|
trait LawAttribut
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * @var LawInterface
 | 
						|
     */
 | 
						|
    protected $law;
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param LawInterface $law
 | 
						|
     */
 | 
						|
    public function setLaw(LawInterface $law): void
 | 
						|
    {
 | 
						|
        $this->law = $law;
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @return LawInterface
 | 
						|
     */
 | 
						|
    public function getLaw(): LawInterface
 | 
						|
    {
 | 
						|
        return $this->law;
 | 
						|
    }
 | 
						|
}
 |