user = $user; $this->taggingRules = new ArrayCollection(); $this->ignoreOriginRules = new ArrayCollection(); } /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Set itemsPerPage. * * @param int $itemsPerPage * * @return Config */ public function setItemsPerPage($itemsPerPage) { $this->itemsPerPage = $itemsPerPage; return $this; } /** * Get itemsPerPage. * * @return int */ public function getItemsPerPage() { return $this->itemsPerPage; } /** * Set language. * * @param string $language * * @return Config */ public function setLanguage($language) { $this->language = $language; return $this; } /** * Get language. * * @return string */ public function getLanguage() { return $this->language; } /** * Set user. * * @param User $user * * @return Config */ public function setUser(User $user = null) { $this->user = $user; return $this; } /** * Get user. * * @return User */ public function getUser() { return $this->user; } /** * Set feed Token. * * @param string $feedToken * * @return Config */ public function setFeedToken($feedToken) { $this->feedToken = $feedToken; return $this; } /** * Get feedToken. * * @return string */ public function getFeedToken() { return $this->feedToken; } /** * Set Feed Limit. * * @param int $feedLimit * * @return Config */ public function setFeedLimit($feedLimit) { $this->feedLimit = $feedLimit; return $this; } /** * Get Feed Limit. * * @return int */ public function getFeedLimit() { return $this->feedLimit; } /** * Set readingSpeed. * * @param float $readingSpeed * * @return Config */ public function setReadingSpeed($readingSpeed) { $this->readingSpeed = $readingSpeed; return $this; } /** * Get readingSpeed. * * @return float */ public function getReadingSpeed() { return $this->readingSpeed; } /** * Set pocketConsumerKey. * * @param string $pocketConsumerKey * * @return Config */ public function setPocketConsumerKey($pocketConsumerKey) { $this->pocketConsumerKey = $pocketConsumerKey; return $this; } /** * Get pocketConsumerKey. * * @return string */ public function getPocketConsumerKey() { return $this->pocketConsumerKey; } /** * @return int */ public function getActionMarkAsRead() { return $this->actionMarkAsRead; } /** * @param int $actionMarkAsRead * * @return Config */ public function setActionMarkAsRead($actionMarkAsRead) { $this->actionMarkAsRead = $actionMarkAsRead; return $this; } /** * @return int */ public function getListMode() { return $this->listMode; } /** * @param int $listMode * * @return Config */ public function setListMode($listMode) { $this->listMode = $listMode; return $this; } /** * @return Config */ public function addTaggingRule(TaggingRule $rule) { $this->taggingRules[] = $rule; return $this; } /** * @return ArrayCollection */ public function getTaggingRules() { return $this->taggingRules; } /** * @return Config */ public function addIgnoreOriginRule(IgnoreOriginUserRule $rule) { $this->ignoreOriginRules[] = $rule; return $this; } /** * @return ArrayCollection */ public function getIgnoreOriginRules() { return $this->ignoreOriginRules; } }