<?php namespace Lukaswhite \ PodcastFeedParser \ Traits ; trait HasTitles { /** * @var string */ protected $title ; /** * @var string */ protected $subtitle ; /** * @return string */ public function getTitle ( ) { return $this -> title ; } /** * @param string $title * @return self */ public function setTitle ( $title ) { $this -> title = $title ; return $this ; } /** * @return string */ public function getSubtitle ( ) { return $this -> subtitle ; } /** * @param string $subtitle * @return self */ public function setSubtitle ( $subtitle ) { $this -> subtitle = $subtitle ; return $this ; } }