public function endpoint($point)
    {
        $endpoint = $this->container->make(Endpoint::class);

        $endpoint
            ->setPoint($point)
            ->add();

        return $this->hang($endpoint);
    }
public function endpoint($point)
    {
        $endpoint = $this->container->make(Endpoint::class);

        $endpoint
            ->setPoint($point)
            ->add();

        return $this->hang($endpoint);
    }
public function endpoint ( $ point ) { $ endpoint = $ this -> container -> make ( Endpoint :: class ) ; $ endpoint -> setPoint ( $ point ) -> add ( ) ; return $ this -> hang ( $ endpoint ) ; }
Create rewrite endpoint.

@param  string $points
@param  int $places

@return \Assely\Rewrite\Endpoint
Create rewrite endpoint .