mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Merge pull request #2490 from BartoszSiejka/interface
Add setters and getters ...
This commit is contained in:
commit
1d96fb7ae2
2 changed files with 28 additions and 0 deletions
|
|
@ -114,4 +114,18 @@ interface ArchetypeInterface extends TimestampableInterface, ArchetypeTranslatio
|
||||||
* @return null|ArchetypeInterface
|
* @return null|ArchetypeInterface
|
||||||
*/
|
*/
|
||||||
public function getParent();
|
public function getParent();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get code.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getCode();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets code.
|
||||||
|
*
|
||||||
|
* @param string $code
|
||||||
|
*/
|
||||||
|
public function setCode($code);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,4 +48,18 @@ interface TaxonTranslationInterface extends SlugAwareInterface
|
||||||
* @param string $permalink
|
* @param string $permalink
|
||||||
*/
|
*/
|
||||||
public function setPermalink($permalink);
|
public function setPermalink($permalink);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get description.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getDescription();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set description.
|
||||||
|
*
|
||||||
|
* @param string $description
|
||||||
|
*/
|
||||||
|
public function setDescription($description);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue