This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Example\Key\Domain\Model; | |
class Foo { | |
/** | |
* BarRepository | |
* | |
* @var \Example\Key\Domain\Repository\BarRepository |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Tx_ext_Domain_Model_Category extends Tx_Extbase_DomainObject_AbstractEntity { | |
/** | |
* returns all the FAQs linked with this Category | |
* | |
* @return Tx_Extbase_Persistence_ObjectStorage<Tx_ext_Domain_Model_Faq> | |
*/ | |
public function getFaqs() { | |
return t3lib_div::makeInstance('Tx_ext_Domain_Repository_FaqRepository')->byCategory($this); | |
} |