for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace seregazhuk\PinterestBot\Api\Forms;
class Profile extends Form
{
/**
* @var string
*/
protected $lastName;
protected $firstName;
protected $userName;
protected $about;
protected $location;
protected $websiteUrl;
protected $image;
protected $country;
* @param mixed $lastName
* @return Profile
public function setLastName($lastName)
$this->lastName = $lastName;
return $this;
}
* @param mixed $firstName
public function setFirstName($firstName)
$this->firstName = $firstName;
* @param mixed $userName
public function setUserName($userName)
$this->userName = $userName;
* @param mixed $about
public function setAbout($about)
$this->about = $about;
* @param mixed $location
public function setLocation($location)
$this->location = $location;
* @param mixed $websiteUrl
public function setWebsiteUrl($websiteUrl)
$this->websiteUrl = $websiteUrl;
* @param mixed $image
public function setImage($image)
$this->image = $image;
* @return array
public function toArray()
return [
'last_name' => $this->lastName,
'first_name' => $this->firstName,
'username' => $this->userName,
'about' => $this->about,
'location' => $this->location,
'website_url' => $this->websiteUrl,
'profile_image' => $this->image,
];
* @param string $country
public function setCountry($country)
$this->country = $country;