src/Entities/Keywords.php
public function set($content)
    {
        if (is_string($content))
            $content = explode(',', $content);

        if ( ! is_array($content))
            $content = (array) $content;

        $this->content = array_map(function ($keyword) {
            return $this->clean($keyword);
        }, $content);

        return $this;
    }
public function set($content)
    {
        if (is_string($content))
            $content = explode(',', $content);

        if ( ! is_array($content))
            $content = (array) $content;

        $this->content = array_map(function ($keyword) {
            return $this->clean($keyword);
        }, $content);

        return $this;
    }
public function set ( $ content ) { if ( is_string ( $ content ) ) $ content = explode ( ',' , $ content ) ; if ( ! is_array ( $ content ) ) $ content = ( array ) $ content ; $ this -> content = array_map ( function ( $ keyword ) { return $ this -> clean ( $ keyword ) ; } , $ content ) ; return $ this ; }
Set keywords content.

@param  array|string  $content

@return self
Set keywords content .