public function setTarget($target) {
            
            if(is_array($target)) {
                foreach ($target as $arg) {
                    $this->arguments[] = $arg;
                }
            }
            if(is_string($target)) {
                $args = explode(',', $target);
                foreach ($args as $arg) {
                   $this->arguments[] = $arg; 
                }
            }
            return $this;
        }
public function setTarget($target) {
            
            if(is_array($target)) {
                foreach ($target as $arg) {
                    $this->arguments[] = $arg;
                }
            }
            if(is_string($target)) {
                $args = explode(',', $target);
                foreach ($args as $arg) {
                   $this->arguments[] = $arg; 
                }
            }
            return $this;
        }
public function setTarget ( $ target ) { if ( is_array ( $ target ) ) { foreach ( $ target as $ arg ) { $ this -> arguments [ ] = $ arg ; } } if ( is_string ( $ target ) ) { $ args = explode ( ',' , $ target ) ; foreach ( $ args as $ arg ) { $ this -> arguments [ ] = $ arg ; } } return $ this ; }
set target ip or network
@param mixed $target (array or comma seperated string)
@return \LaravelNmap\LaravelNmap
set target ip or network