Example #1
0
 /**
  * @param string $text
  * @return string[]
  */
 public function parseTextarea($text)
 {
     return df_clean(df_trim(df_explode_n(df_trim($text))));
 }
Example #2
0
 /** @return string[] */
 private function getSubjectSplitted()
 {
     if (!isset($this->{__METHOD__})) {
         $this->{__METHOD__} = df_explode_n($this->getSubject());
     }
     return $this->{__METHOD__};
 }
Example #3
0
/**
 * @param string $text
 * @return string
 */
function df_tab_multiline($text)
{
    return df_cc_n(df_tab(df_explode_n($text)));
}