public function fromSerialized($content)
    {
        $content = $this->getStringable($content);

        if ($this->isSerialized($content))
        {
            return $this->initialize(unserialize($content));
        }

        throw new BadMethodCallException('Expected serialized, got: ' . $content);
    }
public function fromSerialized($content)
    {
        $content = $this->getStringable($content);

        if ($this->isSerialized($content))
        {
            return $this->initialize(unserialize($content));
        }

        throw new BadMethodCallException('Expected serialized, got: ' . $content);
    }
public function fromSerialized ( $ content ) { $ content = $ this -> getStringable ( $ content ) ; if ( $ this -> isSerialized ( $ content ) ) { return $ this -> initialize ( unserialize ( $ content ) ) ; } throw new BadMethodCallException ( 'Expected serialized, got: ' . $ content ) ; }
Construct from serialized.

@param string|StringContract $content
@return $this
Construct from serialized .